package site.zhanjingbo.shop.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import site.zhanjingbo.shop.dao.UserDao;
import site.zhanjingbo.shop.meta.User;
import site.zhanjingbo.shop.service.UserService;

@Service
public class UserServiceImpl implements UserService {

	@Resource
	private UserDao userDao;

	@Override
	public User login(String username, String password) {
		return userDao.getPerson(username, password);
	}

}
